package com.asdf.application.commands;

import java.util.List;

import com.asdf.application.Constants;
import com.asdf.external.INetserviceSimulator;
import com.asdf.external.LogWriter;

/**
 * @author Atrem Barger
 * 
 * Command which performs the clean up of resources and stops simulation.
 *
 */
public class ExitCommand implements ICommandLine
{

	/* (non-Javadoc)
	 * @see com.asdf.application.commands.ICommandLine#execute(com.asdf.external.INetserviceSimulator, java.util.List)
	 */
	@Override
	public void execute( INetserviceSimulator simulator, List<String> parameters)
	{
		LogWriter.getInstance( ).reportInfo( Constants.LOGOUT_MSG);
	}

}
